
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php

	wp_title( '|', true, 'right' );
	bloginfo( 'name' );
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) ){
		echo " | $site_description";
	}

?>
</title>
<meta name="description" content="<?php bloginfo('description'); ?>" />
<meta name="keywords" content="<?php echo get_option('sitekeywords', 'the, tags, web sites, clean, dark, useful, etc...'); ?>" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
	if ( is_singular() && get_option( 'thread_comments' ) ){
		wp_enqueue_script( 'comment-reply' );
	}
	wp_head();
?>
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('url'); ?>/?dynamic=css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_url'); ?>/css/skins/<?php echo get_option('site_skin', 'deep_ocean'); ?>.css" />

<!--[if IE 7]>
	<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_url'); ?>/css/ie7.css" />
<![endif]-->

<script type="text/javascript" src="<?php bloginfo('url'); ?>/?dynamic=js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/overallmenu.js"></script>
<?php if( is_home() ) { ?>
<?php $stype = get_option('home_slider_type', 'Fade'); if($stype == "Fade"){ ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.cycle.min.js"></script>
<?php } ?>
<?php $stype = get_option('home_slider_type', 'Fade'); if($stype == "Nivo"){ ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.nivo.slider.js"></script>
<?php } ?>
<?php $stype = get_option('home_slider_type', 'Fade'); if($stype == "3D"){ ?>
<!-- if 3d slider loaded -->
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/AC_FL_RunContent.js"></script>
<?php } ?>
<?php } ?>
<?php if (get_option("prettyphoto", "on") == "on"): ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.prettyPhoto.js"></script>
<?php endif; ?>
<?php if (get_option('cufon_active', 1) == '1'): ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/cufon-yui.js"></script> 
<script type="text/javascript" src="<?php echo get_option('cufon_font', get_bloginfo('template_url').'/js/Futura_Bk_BT_400.font.js'); ?>"></script>
<?php endif; ?>


<!--[if IE 6]>
	<script src="<?php bloginfo('template_url'); ?>/js/DD_belatedPNG_0.0.8a-min.js"></script>
	<script>
		DD_belatedPNG.fix('img, div');
	</script>
<![endif]-->
</head>
<body>


<!-- begin header -->
<div class="header clearfix">
	<div class="header_container">
		
		<!-- begin logo -->
		<div class="header_logo">
			<a href="<?php bloginfo('siteurl'); ?>"><img src="<?php echo get_option('sitelogo', get_bloginfo('template_url').'/images/logo.png'); ?>" alt="" /></a>
		</div>
		<!-- end logo -->
		
		<!-- begin menu -->
		<?php 
			if (function_exists('wp_nav_menu')){
				wp_nav_menu(array('sort_column' => 'menu_order', 'container_class' => 'overallmenu', 'menu_class' => 'overallmenu clearfix')); 
			}else{
		?>
		<div class="overallmenu clearfix">	
			<ul>
				<?php if (get_option("disable_home_page", "on") == "on"): ?>
				<li <?php if (is_home()){ echo " class=\"current_page_item\""; } ?>><a href="<?php bloginfo('siteurl'); ?>"><?php echo get_option('home_page_name', 'Home'); ?></a></li>
				<?php endif; ?>
				<?php 
					wp_list_pages('sort_column=menu_order&sort_order=ASC&title_li=');
				?>
			</ul>
		</div>
		<?php } ?>
		<!-- end menu -->
		
	</div>
</div>
<!-- end header -->